package com.huarui.task.service;


import org.ewaf.framework.model.PagingInfo;

import com.huarui.task.model.TaskDetail;
import com.huarui.task.model.TaskListInfo;
import com.huarui.task.service.provider.TaskDetailProvider;
import com.huarui.task.service.provider.TaskOwnerProvider;
import com.huarui.task.service.provider.TaskProvider;

public interface TaskService {
	

	public boolean addNewTask(Integer workFlowId, String tableName, 
			Integer tableId, String tableCode ,Integer status, Integer statusId, String statusName, String remark, String taskName);

	public void getPagingNewTask(PagingInfo<TaskListInfo, TaskListInfo> paginInfo);

	public TaskDetail createNewTaskDetail(Integer taskId, Integer status, Integer statusId, String statusName, String remark);

	public boolean addNewTask(
			TaskProvider taskProvider, TaskDetailProvider taskDetailProvider,
			TaskOwnerProvider taskOwnerProvider);

	public boolean update(TaskProvider taskProvider,
			TaskDetailProvider taskDetailProvider,
			TaskOwnerProvider taskOwnerProvider);
}
